package study.db.postgresql.mapper.studentsubjectinfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Builder
@Data
@Alias("StudentSubjectInfoEO")
@TableName("student_subject_info")
public class StudentSubjectInfoEO implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long studentId;
    private Long classId;

    private String subjectCode;
    private String subjectName;
}
